﻿using System;
using System.Collections.Generic;
using System.Data.Entity;
using System.Linq;
using System.Web;

namespace FormInputProject.Models
{
    public class FormInputContext:DbContext
    {
        public DbSet<User> Users { get; set; }

        public DbSet<Point> Points { get; set; }

        public DbSet<Record> Records { get; set; }

        protected override void OnModelCreating(DbModelBuilder modelBuilder)
        {
            modelBuilder.Configurations.Add<User>(new UserEntityConfiguation());
        }
    }
}